<?php

$hash = 'c1d23adfd6d51010c7a5686805127a23';

?>
<html>
    <head>
        <link rel="stylesheet" type="text/css" href="./templates/default/style.css" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title><?php echo ( isset( $this->vars['title'] ) ) ? $this->vars['title'] : ''; ?></title>
        <script type="text/javascript" src="./scripts/profile.js"></script>
        <script>
            window.onload = function()
            {
                var width = screen.width;
                document.getElementById( 'ajaxLoading' ).style.left = ( width / 2 - 70 ) + 'px';
            }
        </script>
    </head>
    
<body>
    
    <div id="ajaxLoading">
        <?php echo ( isset( $this->vars['l_loading'] ) ) ? $this->vars['l_loading'] : ''; ?> <img src="./templates/default/img/loading1.gif" />
    </div>
    
    <div id="body">
        <div>
            <div id="header">
                <div style="float: left;">
                    <div class="board_title">
                        <a href="index.php">Fusion Board</a>
                    </div>
                    <div class="board_description">
                        Opis forum
                    </div>
                </div>
                
                <div style="clear: both;"></div>
            </div>
        </div>
        
        <div id="nav">
            <div style="float: left;">
                <a href="index.php">Home</a>
            </div>
            
            <div style="float: right;">
            </div>
            
            <div style="clear: both"></div>
        </div>
        
        <?php if( $this->if_states['is_guest'] == 1 ) { unset( $this->if_states['is_guest'] ); ?>
        <div id="guestBox">
            <?php echo ( isset( $this->vars['welcomeBlock'] ) ) ? $this->vars['welcomeBlock'] : ''; ?>
        </div>
        <?php } ?>
            
        <?php if( $this->if_states['is_user'] == 1 ) { unset( $this->if_states['is_user'] ); ?>
        <div id="userBox">
            <?php echo ( isset( $this->vars['welcomeBlock'] ) ) ? $this->vars['welcomeBlock'] : ''; ?>
        </div>
        <?php } ?>
            
        <div class="small_spacer"></div>
            
        <?php if( $this->if_states['announcement'] == 1 ) { unset( $this->if_states['announcement'] ); ?>
        <div id="breadcrumbs" style="width: 70%;margin: auto;">
            <b style="font-size: 14px;color: red;"><?php echo ( isset( $this->vars['l_announcement'] ) ) ? $this->vars['l_announcement'] : ''; ?></b><br />
            <span style="font-family: arial;"><?php echo ( isset( $this->vars['announcement'] ) ) ? $this->vars['announcement'] : ''; ?></span>
        </div>
        <?php } ?>
            
        <div id="breadcrumbs">
            <?php echo ( isset( $this->vars['breadcrumbs'] ) ) ? $this->vars['breadcrumbs'] : ''; ?>
        </div>
        
        <div class="spacer"></div>
  